onPersistantStoreLoaded = function(){
	var settings = {
			flash_url : "assets/swfupload/swfupload.swf",
			upload_url : "services/upload",
			file_size_limit : "100 MB",
			file_types : "*.xls",
			file_types_description : "All Files",
			file_upload_limit : 100,
			file_queue_limit : 2,
			custom_settings : {
				progressTarget : "fsUploadProgress",
				cancelButtonId : "btnCancel"
			},
			debug : false,

			// Button settings
			//button_image_url : "assets/images/addFiles.png",
			button_width : "90",
			button_height : "22",
			button_placeholder_id : "spanButtonPlaceHolder",

			// The event handler functions are defined in handlers.js
			file_queued_handler : fileQueued,
			file_queue_error_handler : fileQueueError,
			upload_start_handler : uploadStart,
			upload_progress_handler : uploadProgress,
			upload_error_handler : uploadError,
			upload_success_handler : uploadSuccess
		};

	swfu = new SWFUpload(settings);	
}